package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class CustomEvaluationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomEvaluationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCustomevaluationidIsNull() {
            addCriterion("CustomEvaluationId is null");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidIsNotNull() {
            addCriterion("CustomEvaluationId is not null");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidEqualTo(Integer value) {
            addCriterion("CustomEvaluationId =", value, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidNotEqualTo(Integer value) {
            addCriterion("CustomEvaluationId <>", value, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidGreaterThan(Integer value) {
            addCriterion("CustomEvaluationId >", value, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CustomEvaluationId >=", value, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidLessThan(Integer value) {
            addCriterion("CustomEvaluationId <", value, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidLessThanOrEqualTo(Integer value) {
            addCriterion("CustomEvaluationId <=", value, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidIn(List<Integer> values) {
            addCriterion("CustomEvaluationId in", values, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidNotIn(List<Integer> values) {
            addCriterion("CustomEvaluationId not in", values, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidBetween(Integer value1, Integer value2) {
            addCriterion("CustomEvaluationId between", value1, value2, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andCustomevaluationidNotBetween(Integer value1, Integer value2) {
            addCriterion("CustomEvaluationId not between", value1, value2, "customevaluationid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidIsNull() {
            addCriterion("byEvaluatePersonId is null");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidIsNotNull() {
            addCriterion("byEvaluatePersonId is not null");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidEqualTo(String value) {
            addCriterion("byEvaluatePersonId =", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidNotEqualTo(String value) {
            addCriterion("byEvaluatePersonId <>", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidGreaterThan(String value) {
            addCriterion("byEvaluatePersonId >", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidGreaterThanOrEqualTo(String value) {
            addCriterion("byEvaluatePersonId >=", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidLessThan(String value) {
            addCriterion("byEvaluatePersonId <", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidLessThanOrEqualTo(String value) {
            addCriterion("byEvaluatePersonId <=", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidLike(String value) {
            addCriterion("byEvaluatePersonId like", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidNotLike(String value) {
            addCriterion("byEvaluatePersonId not like", value, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidIn(List<String> values) {
            addCriterion("byEvaluatePersonId in", values, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidNotIn(List<String> values) {
            addCriterion("byEvaluatePersonId not in", values, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidBetween(String value1, String value2) {
            addCriterion("byEvaluatePersonId between", value1, value2, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andByevaluatepersonidNotBetween(String value1, String value2) {
            addCriterion("byEvaluatePersonId not between", value1, value2, "byevaluatepersonid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridIsNull() {
            addCriterion("appraiserId is null");
            return (Criteria) this;
        }

        public Criteria andAppraiseridIsNotNull() {
            addCriterion("appraiserId is not null");
            return (Criteria) this;
        }

        public Criteria andAppraiseridEqualTo(String value) {
            addCriterion("appraiserId =", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridNotEqualTo(String value) {
            addCriterion("appraiserId <>", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridGreaterThan(String value) {
            addCriterion("appraiserId >", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridGreaterThanOrEqualTo(String value) {
            addCriterion("appraiserId >=", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridLessThan(String value) {
            addCriterion("appraiserId <", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridLessThanOrEqualTo(String value) {
            addCriterion("appraiserId <=", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridLike(String value) {
            addCriterion("appraiserId like", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridNotLike(String value) {
            addCriterion("appraiserId not like", value, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridIn(List<String> values) {
            addCriterion("appraiserId in", values, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridNotIn(List<String> values) {
            addCriterion("appraiserId not in", values, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridBetween(String value1, String value2) {
            addCriterion("appraiserId between", value1, value2, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andAppraiseridNotBetween(String value1, String value2) {
            addCriterion("appraiserId not between", value1, value2, "appraiserid");
            return (Criteria) this;
        }

        public Criteria andMynicknameIsNull() {
            addCriterion("mynickname is null");
            return (Criteria) this;
        }

        public Criteria andMynicknameIsNotNull() {
            addCriterion("mynickname is not null");
            return (Criteria) this;
        }

        public Criteria andMynicknameEqualTo(String value) {
            addCriterion("mynickname =", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameNotEqualTo(String value) {
            addCriterion("mynickname <>", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameGreaterThan(String value) {
            addCriterion("mynickname >", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameGreaterThanOrEqualTo(String value) {
            addCriterion("mynickname >=", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameLessThan(String value) {
            addCriterion("mynickname <", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameLessThanOrEqualTo(String value) {
            addCriterion("mynickname <=", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameLike(String value) {
            addCriterion("mynickname like", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameNotLike(String value) {
            addCriterion("mynickname not like", value, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameIn(List<String> values) {
            addCriterion("mynickname in", values, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameNotIn(List<String> values) {
            addCriterion("mynickname not in", values, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameBetween(String value1, String value2) {
            addCriterion("mynickname between", value1, value2, "mynickname");
            return (Criteria) this;
        }

        public Criteria andMynicknameNotBetween(String value1, String value2) {
            addCriterion("mynickname not between", value1, value2, "mynickname");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlIsNull() {
            addCriterion("appraiserURL is null");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlIsNotNull() {
            addCriterion("appraiserURL is not null");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlEqualTo(String value) {
            addCriterion("appraiserURL =", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlNotEqualTo(String value) {
            addCriterion("appraiserURL <>", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlGreaterThan(String value) {
            addCriterion("appraiserURL >", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlGreaterThanOrEqualTo(String value) {
            addCriterion("appraiserURL >=", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlLessThan(String value) {
            addCriterion("appraiserURL <", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlLessThanOrEqualTo(String value) {
            addCriterion("appraiserURL <=", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlLike(String value) {
            addCriterion("appraiserURL like", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlNotLike(String value) {
            addCriterion("appraiserURL not like", value, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlIn(List<String> values) {
            addCriterion("appraiserURL in", values, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlNotIn(List<String> values) {
            addCriterion("appraiserURL not in", values, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlBetween(String value1, String value2) {
            addCriterion("appraiserURL between", value1, value2, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andAppraiserurlNotBetween(String value1, String value2) {
            addCriterion("appraiserURL not between", value1, value2, "appraiserurl");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeIsNull() {
            addCriterion("evaluationTime is null");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeIsNotNull() {
            addCriterion("evaluationTime is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeEqualTo(String value) {
            addCriterion("evaluationTime =", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeNotEqualTo(String value) {
            addCriterion("evaluationTime <>", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeGreaterThan(String value) {
            addCriterion("evaluationTime >", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeGreaterThanOrEqualTo(String value) {
            addCriterion("evaluationTime >=", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeLessThan(String value) {
            addCriterion("evaluationTime <", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeLessThanOrEqualTo(String value) {
            addCriterion("evaluationTime <=", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeLike(String value) {
            addCriterion("evaluationTime like", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeNotLike(String value) {
            addCriterion("evaluationTime not like", value, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeIn(List<String> values) {
            addCriterion("evaluationTime in", values, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeNotIn(List<String> values) {
            addCriterion("evaluationTime not in", values, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeBetween(String value1, String value2) {
            addCriterion("evaluationTime between", value1, value2, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationtimeNotBetween(String value1, String value2) {
            addCriterion("evaluationTime not between", value1, value2, "evaluationtime");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentIsNull() {
            addCriterion("evaluationContent is null");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentIsNotNull() {
            addCriterion("evaluationContent is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentEqualTo(String value) {
            addCriterion("evaluationContent =", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentNotEqualTo(String value) {
            addCriterion("evaluationContent <>", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentGreaterThan(String value) {
            addCriterion("evaluationContent >", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentGreaterThanOrEqualTo(String value) {
            addCriterion("evaluationContent >=", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentLessThan(String value) {
            addCriterion("evaluationContent <", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentLessThanOrEqualTo(String value) {
            addCriterion("evaluationContent <=", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentLike(String value) {
            addCriterion("evaluationContent like", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentNotLike(String value) {
            addCriterion("evaluationContent not like", value, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentIn(List<String> values) {
            addCriterion("evaluationContent in", values, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentNotIn(List<String> values) {
            addCriterion("evaluationContent not in", values, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentBetween(String value1, String value2) {
            addCriterion("evaluationContent between", value1, value2, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andEvaluationcontentNotBetween(String value1, String value2) {
            addCriterion("evaluationContent not between", value1, value2, "evaluationcontent");
            return (Criteria) this;
        }

        public Criteria andLikenumIsNull() {
            addCriterion("likeNum is null");
            return (Criteria) this;
        }

        public Criteria andLikenumIsNotNull() {
            addCriterion("likeNum is not null");
            return (Criteria) this;
        }

        public Criteria andLikenumEqualTo(Integer value) {
            addCriterion("likeNum =", value, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumNotEqualTo(Integer value) {
            addCriterion("likeNum <>", value, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumGreaterThan(Integer value) {
            addCriterion("likeNum >", value, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("likeNum >=", value, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumLessThan(Integer value) {
            addCriterion("likeNum <", value, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumLessThanOrEqualTo(Integer value) {
            addCriterion("likeNum <=", value, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumIn(List<Integer> values) {
            addCriterion("likeNum in", values, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumNotIn(List<Integer> values) {
            addCriterion("likeNum not in", values, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumBetween(Integer value1, Integer value2) {
            addCriterion("likeNum between", value1, value2, "likenum");
            return (Criteria) this;
        }

        public Criteria andLikenumNotBetween(Integer value1, Integer value2) {
            addCriterion("likeNum not between", value1, value2, "likenum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}